/*    */ package eos.moe.dragoncore;
/*    */ 
/*    */ import java.util.ArrayList;
/*    */ import org.yaml.snakeyamla.configuration.file.YamlConfiguration;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public class gg
/*    */ {
/*    */   @eos/moe/dragoncore/t(v = {"取Yaml值", "Yaml_Get"})
/*    */   public static o h(vh a, String str) {
/* 15 */     YamlConfiguration yamlConfiguration = a.getYaml();
/* 16 */     if (yamlConfiguration.isList(str)) {
/* 17 */       return new nf(yamlConfiguration.getList(str), false);
/*    */     }
/* 19 */     return ah.v(yamlConfiguration.getString(str, ""));
/*    */   }
/*    */ 
/*    */   
/*    */   @eos/moe/dragoncore/t(v = {"取Yaml节点", "Yaml_Get_Keys"})
/*    */   public static o z(vh a, String str) {
/* 25 */     YamlConfiguration yamlConfiguration = a.getYaml();
/* 26 */     if (str.isEmpty())
/* 27 */       return new nf(yamlConfiguration.getKeys(false), false); 
/* 28 */     if (yamlConfiguration.isConfigurationSection(str)) {
/* 29 */       return new nf(yamlConfiguration.getConfigurationSection(str).getKeys(false), false);
/*    */     }
/* 31 */     return new nf(new ArrayList<>());
/*    */   }
/*    */ 
/*    */   
/*    */   @eos/moe/dragoncore/t(v = {"取Yaml全部节点", "Yaml_Get_All_Keys"})
/*    */   public static o v(vh a, String str) {
/* 37 */     YamlConfiguration yamlConfiguration = a.getYaml();
/* 38 */     if (str.isEmpty())
/* 39 */       return new nf(yamlConfiguration.getKeys(true), false); 
/* 40 */     if (yamlConfiguration.isConfigurationSection(str)) {
/* 41 */       return new nf(yamlConfiguration.getConfigurationSection(str).getKeys(true), false);
/*    */     }
/* 43 */     return new nf(new ArrayList<>());
/*    */   }
/*    */ }


/* Location:              D:\fanbian\[D][龙之核心]DragonCore-2.6.0.3.jar!\eos\moe\dragoncore\gg.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */